package com.redis.data.seckillshopping.enums;

/**
 * @author 哲思小辉
 * @version 1.0.0
 * @ClassName RequestCodeEnum.java
 * @Description 请求枚举
 * @Param
 * @createTime 2020年03月25日 14:02:00
 */
public enum RequestCodeEnum {
    SUCCESS(200, "请求成功"),
    FAILURE(400, "服务错误");
    public Integer code;
    public String msg;

    RequestCodeEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
